projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b13737
)
Fix the no toolkit build.
author
Po Lu
<luangruo@yahoo.com>
Mon, 31 Jan 2022 02:34:50 +0000
(10:34 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 31 Jan 2022 02:37:49 +0000
(10:37 +0800)
* src/xfns.c (x_window): Use n_planes instead of CopyFromParent
for depth.
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index ed56b072148488640b37d503b634cb2da1e2dbd0..6716acc25b5d34d95fde6a53992c7e42b2d99019 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-3780,7
+3780,7
@@
x_window (struct frame *f)
f->top_pos,
FRAME_PIXEL_WIDTH (f), FRAME_PIXEL_HEIGHT (f),
f->border_width,
-
CopyFromParent
, /* depth */
+
FRAME_DISPLAY_INFO (f)->n_planes
, /* depth */
InputOutput, /* class */
FRAME_X_VISUAL (f),
attribute_mask, &attributes);